-
Notifications
You must be signed in to change notification settings - Fork 10k
Add Workers for Platforms bindings documentation #22975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment. We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally. PR Change SummaryAdded a new documentation page for Workers for Platforms, detailing how platform customers can add bindings to user workers.
Added Files
How can I customize these reviews?Check out the Hyperlint AI Reviewer docs for more information on how to customize the review. If you just want to ignore it on this PR, you can add the Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 To request another review, post a new comment with "/windsurf-review".
|
|
||
| #### Using the API | ||
|
|
||
| Use the [Upload User Worker API](http://localhost:1111/api/resources/workers_for_platforms/subresources/dispatch/subresources/namespaces/subresources/scripts/methods/update/) to attach bindings to a Worker. You can do this when you're first uploading the Worker script or when updating an existing Worker. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The API link is pointing to a localhost URL which won't work for users. This should be replaced with the actual production URL.
| Use the [Upload User Worker API](http://localhost:1111/api/resources/workers_for_platforms/subresources/dispatch/subresources/namespaces/subresources/scripts/methods/update/) to attach bindings to a Worker. You can do this when you're first uploading the Worker script or when updating an existing Worker. | |
| Use the [Upload User Worker API](/api/resources/workers_for_platforms/subresources/dispatch/subresources/namespaces/subresources/scripts/methods/update/) to attach bindings to a Worker. You can do this when you're first uploading the Worker script or when updating an existing Worker. |
src/content/docs/cloudflare-for-platforms/workers-for-platforms/get-started/bindings.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/cloudflare-for-platforms/workers-for-platforms/get-started/bindings.mdx
Outdated
Show resolved
Hide resolved
Remove localhost reference
…s/get-started/bindings.mdx Co-authored-by: windsurf-bot[bot] <189301087+windsurf-bot[bot]@users.noreply.github.com>
…s/get-started/bindings.mdx Co-authored-by: windsurf-bot[bot] <189301087+windsurf-bot[bot]@users.noreply.github.com>
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
markdembo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great addition, but needs some work imho
src/content/docs/cloudflare-for-platforms/workers-for-platforms/get-started/bindings.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/cloudflare-for-platforms/workers-for-platforms/get-started/bindings.mdx
Show resolved
Hide resolved
src/content/docs/cloudflare-for-platforms/workers-for-platforms/get-started/bindings.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/cloudflare-for-platforms/workers-for-platforms/get-started/bindings.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/cloudflare-for-platforms/workers-for-platforms/get-started/bindings.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/cloudflare-for-platforms/workers-for-platforms/get-started/bindings.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/cloudflare-for-platforms/workers-for-platforms/get-started/bindings.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/cloudflare-for-platforms/workers-for-platforms/get-started/bindings.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/cloudflare-for-platforms/workers-for-platforms/get-started/bindings.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/cloudflare-for-platforms/workers-for-platforms/get-started/bindings.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/cloudflare-for-platforms/workers-for-platforms/get-started/bindings.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/cloudflare-for-platforms/workers-for-platforms/get-started/bindings.mdx
Show resolved
Hide resolved
src/content/docs/cloudflare-for-platforms/workers-for-platforms/get-started/bindings.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/cloudflare-for-platforms/workers-for-platforms/get-started/bindings.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/cloudflare-for-platforms/workers-for-platforms/get-started/bindings.mdx
Outdated
Show resolved
Hide resolved
--------- Co-authored-by: windsurf-bot[bot] <189301087+windsurf-bot[bot]@users.noreply.github.com>
Summary
Adding a new page to the Workers for Platforms docs to document how platform customers can add bindings to user workers.
Screenshots (optional)
Documentation checklist